package com.dgut.finaldemo.service;

import com.dgut.finaldemo.entity.User;
import com.dgut.finaldemo.vo.DataVO;

public interface UserService {
    DataVO<User> findData(Integer page,Integer limit);
    void addUser(User user);
    User queryUserById(Integer uid);
    void updateUser(User user);
    void deleteUserById(Integer uid);
    DataVO<User> searchUser(Integer page,Integer limit,Integer uid,
                            String username,String password);
    User queryUserByUsername(String username);
}
